<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>发布</title>
	<link rel="stylesheet" href="/Finder/Public/Css/bootstrap.min.css">
	<link rel="stylesheet" href="/Finder/Public/Css/header.css"/>
    <style>
        #publish{
            border-bottom: 2px solid #e67e22;
            margin-bottom: -2px;
        }
    </style>
</head>
<body>
	<!-- <div class="container-fluid header"> -->
	
		<header role="navigation" class="header">
    <div class="container">
        <div class="row">
            <div class="col-md-2 col-sm-2 .navbar-left">
                <a href="<?php echo U('Home/Index/index');?>" class="logo">
                    <img src="/Finder/Public/Img/logo-finder.png" alt="logo" class="logo1">
                </a>
            </div>
            <div class="col-md-8 col-sm-8 text-center">
                <div class="collapse navbar-collapse" id="main-menu">
                    <ul class="menu">
                        <li id="index" role="presentation"><a href="<?php echo U('Home/Index/index');?>"><span>首页</span></a></li>
                        <li id="publish" role="presentation"><a href="<?php echo U('Home/Blog/publish');?>"><span>发布</span></a></li>
                        <li id="blog" role="presentation"><a href="<?php echo U('Home/Blog/index');?>"><span>论坛</span></a></li>
                    </ul>
                </div>
            </div>
            <div class="col-md-2 col-sm-2 text-right">
                <div class="link-group">
                    <a href="<?php echo ($user_manage["url1"]); ?>"><?php echo ($user_manage["value1"]); ?></a>
                    <span>|</span>
                    <a href="<?php echo ($user_manage["url2"]); ?>"><?php echo ($user_manage["value2"]); ?></a>
                </div>
            </div>
        </div>
    </div>
</header>
		

	<!-- mid -->
	<div class="container-fluid">
		<div class="row">
			
    <div class="container">
        <div class="row clearfix">
            <div class="col-sm-12 column">
                <p class="text-center" style="font-weight: bolder;">为了更好地帮助您找到丢失的物品，请务必保证您填写的寻物信息真实详细</p>
                <hr/>
                <div class="col-sm-offset-2 col-sm-8">
                    <form class="form-horizontal lost-form" id="lost-form" enctype="multipart/form-data" method="post" action="<?php echo U('Home/Blog/pubInfo',array('area_id'=> 2));?>">
                        <div class="col-sm-offset-1 col-sm-9">
                            <div class="form-group">
                                <label for="blog_title" class="col-sm-3 control-label">标题：</label>

                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="blog_title" name="blog_title" placeholder="title"></div>
                            </div>
                            <div class="form-group">
                                <label for="blog_content" class="col-sm-3 control-label">描述内容：</label>

                                <div class="col-sm-9">
                                    <textarea class="form-control" rows="3" id="blog_content" name="blog_content"></textarea>
                                </div>
                            </div>
                        </div>
                        <hr class="col-md-offset-1 col-md-9"/>
                        <div class="col-md-offset-1 col-md-9"/>
                        <div class="form-group">
                            <label for="goods_name" class="col-sm-3 control-label">物品名称：</label>

                            <div class="col-sm-9">
                                <input type="text" class="form-control" id="goods_name" name="goods_name" placeholder="请输入物品名"></div>
                        </div>
                        <div class="form-group">
                            <label for="goods_date" class="col-sm-3 control-label">丢失日期：</label>

                            <div class="col-sm-9">
                                <input type="datetime" class="form-control" id="goods_date" name="goods_date"
                                       placeholder="请尽可能输入具体时间"></div>
                        </div>
                        <div class="form-group">
                            <label for="goods_place" class="col-sm-3 control-label">丢失地点：</label>

                            <div class="col-sm-9">
                                <input type="text" class="form-control" id="goods_place" name="goods_place"
                                       placeholder="请尽可能输入具体地点"></div>
                        </div>
                        <div class="form-group">
                            <label for="goods_description" class="col-sm-3 control-label">物品描述：</label>

                            <div class="col-sm-9">
                                <textarea class="form-control" rows="3" id="goods_description" name="goods_description" placeholder="详细描述"></textarea>
                            </div>
                        </div>
                        <hr/>
                        <div class="form-group">
                            <label for="goods_picture" class="col-sm-3 control-label">上传照片：</label>

                            <div class="col-sm-9">
                                <input type="file" class="form-control" id="goods_picture" name="goods_picture" value="选择图片"/>
                            </div>
                        </div>
                    </div>
                    <hr class="col-md-offset-1 col-md-9"/>
                    <div class="form-group">
                        <div class="col-sm-offset-4 col-sm-5">
                            <input type="submit" value="发布" class="btn btn-default btn-block" id="lost-btn"/>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

		</div>
	</div>

	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="/Finder/Public/Js/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="/Finder/Public/Js/bootstrap.min.js"></script>
    <!--<script src="/Finder/Public/Js/publish.js"></script>-->
</body>
</html>